package com.maiji.cloud.service;

import com.maiji.cloud.entities.manager.Menu;
import com.maiji.cloud.entities.manager.RoleMenu;
import com.baomidou.mybatisplus.service.IService;
import com.maiji.cloud.response.BaseDataResDto;
import com.maiji.cloud.response.BaseResDto;
import java.util.List;

public interface RoleMenuService extends IService<RoleMenu> {

    Boolean addRoleMenus(String roleId, List<String> menuIds);

    BaseDataResDto<List<Menu>> findAllMenus(String roleId);

    BaseResDto editRoleMenu(String roleId, List<String> menuIds, Boolean add);

}
